{eval include template($common_template_pluginid.':new/common/header');}
{eval $sign=DB::result_first("select sign from ".DB::table('aljbd_attestation')." where sign=1 and bid=".$bid)}
{if $sign}
<div class="weui-cells__title">{lang aljbd:aedit_24}</div>
{else}
<div class="weui-cells__title">$config['qiye_s']</div>
{/if}
<div class="weui-cells_form" >
	<iframe style="display:none" name="myiframe" id="myiframe"></iframe>
	<form id="postform" name="postform" action="plugin.php?id=aljbd&act={$_GET['act']}" method="POST"  accept-charset="utf-8">
		<input type="hidden" name="formhash" value="{FORMHASH}">
		<input type="hidden" name="bid" value="{$bid}">

		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">{lang aljbd:aedit_17}</label></div>
			<div class="weui-cell__bd">
				{eval echo dhtmlspecialchars($bd['name']);}
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__hd"><label class="weui-label">{lang aljbd:aedit_2}</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" name="name" value="{$lp['name']}" placeholder="{lang aljbd:attestation_touch_1}" >
			</div>
		</div>

		<div class="weui-cell weui-cell_access">
			<div class="weui-cell__hd"><label class="weui-label">{lang aljbd:aedit_4}</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" name="id_card" value="{$lp['id_card']}"  placeholder="{lang aljbd:attestation_touch_2}"/>
			</div>
		</div>

		<div class="weui-cell">
			<div class="weui-cell__bd">
				<div class="weui-uploader">
					<div class="weui-uploader__hd">
						<p class="weui-uploader__title">{lang aljbd:aedit_4}</p>
						<div class="weui-uploader__info">{lang aljbd:attestation_touch_3}</div>
					</div>
					<div class="weui-uploader__bd">
						<ul class="weui-uploader__files" id="uploaderFiles">
							{if $lp['id_pic']}

							<li class="weui-uploader__file weui-uploader__file_status img_list" style="background-image:url('{$lp['id_pic']}')">
								<div class="weui-uploader__file-content">
									<i class="weui-icon-cancel" onclick="delimg(this)"></i>
								</div>
							</li>
							<input name="id_pic" class="pic" type="hidden" value="{$lp['id_pic']}">

							{/if}
						</ul>
						<div class="weui-uploader__input-box" >
							<input id="uploaderInput" class="weui-uploader__input" type="file"  onchange="lrz_mobile(this,1,'id_pic')">
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__bd">
				<div class="weui-uploader">
					<div class="weui-uploader__hd">
						<p class="weui-uploader__title">{lang aljbd:aedit_19}</p>
						<div class="weui-uploader__info">{lang aljbd:attestation_touch_4}</div>
					</div>
					<div class="weui-uploader__bd">
						<ul class="weui-uploader__files" >
							{if $lp['ban_pic']}

							<li class="weui-uploader__file weui-uploader__file_status img_list" style="background-image:url('{$lp['ban_pic']}')">
								<div class="weui-uploader__file-content">
									<i class="weui-icon-cancel" onclick="delimg(this)"></i>
								</div>
							</li>
							<input name="ban_pic" class="pic" type="hidden" value="{$lp['ban_pic']}">

							{/if}
						</ul>
						<div class="weui-uploader__input-box" >
							<input  class="weui-uploader__input" type="file"  onchange="lrz_mobile(this,1,'ban_pic')">
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__bd">
				<div class="weui-uploader">
					<div class="weui-uploader__hd">
						<p class="weui-uploader__title">{lang aljbd:aedit_21}</p>
						<div class="weui-uploader__info"></div>
					</div>
					<div class="weui-uploader__bd">
						<ul class="weui-uploader__files" >
							{if $lp['id_pic1']}

							<li class="weui-uploader__file weui-uploader__file_status img_list" style="background-image:url('{$lp['id_pic1']}')">
								<div class="weui-uploader__file-content">
									<i class="weui-icon-cancel" onclick="delimg(this)"></i>
								</div>
							</li>
							<input name="id_pic1" class="pic" type="hidden" value="{$lp['id_pic1']}">

							{/if}
						</ul>
						<div class="weui-uploader__input-box" >
							<input  class="weui-uploader__input" type="file"  onchange="lrz_mobile(this,1,'id_pic1')">
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="weui-cell weui-cell_access">
			<div class="weui-cell__hd"><label class="weui-label">{lang aljbd:aedit_7}</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" name="qiyename" value="{$lp['qiyename']}"  placeholder="{lang aljbd:attestation_touch_5}"/>
			</div>
		</div>
		<div class="weui-cell weui-cell_access">
			<div class="weui-cell__hd"><label class="weui-label">{lang aljbd:aedit_9}</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" name="email" value="{$lp['email']}"  placeholder="{lang aljbd:attestation_touch_6}"/>
			</div>
		</div>
		<div class="weui-cell weui-cell_access">
			<div class="weui-cell__hd"><label class="weui-label">{lang aljbd:aedit_11}</label></div>
			<div class="weui-cell__bd">
				<input class="weui-input" type="text" name="tel" value="{$lp['tel']}"  placeholder="{lang aljbd:attestation_touch_7}"/>
			</div>
		</div>
		<div class="weui-cell">
			<div class="weui-cell__bd">
				<div class="weui-uploader">
					<div class="weui-uploader__hd">
						<p class="weui-uploader__title">{lang aljbd:aedit_21}</p>
						<div class="weui-uploader__info"></div>
					</div>
					<div class="weui-uploader__bd">
						<ul class="weui-uploader__files" >
							{if $lp['pic']}

							<li class="weui-uploader__file weui-uploader__file_status img_list" style="background-image:url('{$lp['pic']}')">
								<div class="weui-uploader__file-content">
									<i class="weui-icon-cancel" onclick="delimg(this)"></i>
								</div>
							</li>
							<input name="pic" class="pic" type="hidden" value="{$lp['pic']}">

							{/if}
						</ul>
						<div class="weui-uploader__input-box" >
							<input  class="weui-uploader__input" type="file"  onchange="lrz_mobile(this,1,'pic')">
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="weui-cells weui-cells_form" style="margin-top: 0px;">
			<div class="weui-cell">
				<div class="weui-cell__bd">
					<textarea class="weui-textarea" name="jieshao" placeholder="{lang aljbd:aedit_15}" rows="3">{$lp['jieshao']}</textarea>
				</div>
			</div>
		</div>
		<div class="weui-btn-area">
			<button class="weui-btn weui-btn_primary" name="submit" type="submit" value="Y" onclick="$.showLoading();">{lang aljbd:sj_dianping_12}</button>
		</div>
	</form>
</div>

{eval include template($common_template_pluginid.':new/common/footer');}